<div id="user-level">
    <form class="form-horizontal" style="" id="setting-form1">
        <input type="hidden" name="type" value="user_level">
        <foreach name="listData" item="data">
            <if condition="$data['type'] eq 'user_level'">
                <div class="form-group">
                    <input type="hidden" name="label[]" value="{$data.label}">
                    <input type="hidden" name="unit[]" value="{$data.unit}">
                    <label class="control-label col-sm-2">{$data.label}：</label>
                    <div class="input-group col-sm-3">
                        <input class="form-control" name="{$data.key}" value="{$data.value}" placeholder="" />
                        <div class="input-group-addon">{$data.unit}</div>
                    </div>
                </div>
            </if>
        </foreach>
        <div class="form-group">
            <label class="control-label col-sm-2"></label>
            <div class="col-sm-3">
                <button type="button" class="btn btn-primary" onclick="doSet('setting-form1')">保存</button>
            </div>
        </div>
    </form>
</div>
